package com.unittec.drainage.sdk.log.enums;

import lombok.Getter;

/**
 * 删除状态
 * @author Jason
 */
@Getter
public enum LogOperateEnum {

    LOG_OTHER("0", "其他"),
    LOG_ADD("1", "新增"),
    LOG_UPDATE("2", "修改"),
    LOG_DEL("3", "删除"),
    LOG_LIST("4", "列表"),
    LOG_IMPORT("5", "导入"),
    LOG_EXPORT("6", "导出"),
    LOG_DETAIL("7", "详情"),
    LOG_AUDIT("8", "审核"),
    LOG_SAVE("9", "保存");

    private final String message;
    private final String code;

    LogOperateEnum(final String code, final String message) {
        this.code = code;
        this.message = message;
    }

    public String getName() {
        return this.name();
    }
}
